package com.runda.sec;

import java.util.Collection;

import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;

public class CustomUsernamePasswordAuthenticationToken extends UsernamePasswordAuthenticationToken{
	private String oriUnqueCode;
	public String getOriUnqueCode() {
		return oriUnqueCode;
	}
	public void setOriUnqueCode(String oriUnqueCode) {
		this.oriUnqueCode = oriUnqueCode;
	}
	public CustomUsernamePasswordAuthenticationToken(Object principal, Object credentials) {
		super(principal, credentials);
	}
	public CustomUsernamePasswordAuthenticationToken(Object principal, Object credentials,Collection<? extends GrantedAuthority> authorities,String oriUnqueCode) {
		super(principal, credentials,authorities);
		this.oriUnqueCode=oriUnqueCode;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = -3233228183527444743L;

}
